<?php
require_once('mysql.php');

$todolist_id = $_GET['todolist_id'];

$json = array();

$query = "delete from todo_list where id='$todolist_id'";

$result = mysql_query($query) or die(mysql_error());

?>

